home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex / base / web2ctex.txt < prev    next >
Text File  |  1994-12-17  |  3KB  |  137 lines

  1.           LaTeX installation instructions for web2c Unix TeX
  2.  
  3.                             30 May 1994
  4.  
  5.  
  6. SUMMARY
  7. =======
  8.  
  9. This file contains instructions on how to install LaTeX for web2c Unix 
  10. TeX.  Before reading this file, you should read install.txt, which 
  11. will explain how the LaTeX installation works.
  12.  
  13. This file describes:
  14.  
  15.  * How to save any old version of LaTeX.
  16.  
  17.  * How to unpack the LaTeX distribution.
  18.  
  19.  * How to create the LaTeX format.
  20.  
  21.  * How to install the LaTeX files.
  22.  
  23. During the installation procedure, it may be easiest to set some 
  24. environment variables.
  25.  
  26. The $LATEXINPUTS directory is where the LaTeX packages and classes 
  27. are kept.  This is on the TEXINPUTS path, for example:
  28.  
  29.    setenv LATEXINPUTS /usr/local/lib/tex/inputs/latex
  30.  
  31. The $LATEXFORMATS directory is where the LaTeX format is kept.  This 
  32. is on the TEXFORMATS path, for example:
  33.  
  34.    setenv LATEXFORMATS /usr/local/lib/tex/formats
  35.  
  36. The $LATEXBIN directory is where the LaTeX binary is kept.  This is 
  37. on the PATH, for example:
  38.  
  39.    setenv LATEXBIN /usr/local/bin
  40.  
  41. The $LATEXDIST directory is where the LaTeX distribution is kept.  
  42. This is normally NOT on the TEXINPUTS path, for example:
  43.  
  44.    setenv LATEXDIST /usr/local/lib/tex/latex/src
  45.     
  46.  
  47. SAVING ANY OLD VERSION OF LATEX
  48. ===============================
  49.  
  50. If you have a copy of LaTeX 2.09, you may wish to save it before 
  51. installing LaTeX2e.  
  52.  
  53. To begin with, you should save the LaTeX format.
  54.  
  55.    cd $LATEXFORMATS
  56.    mv latex.fmt latex209.fmt
  57.    
  58. Then you should save the LaTeX inputs.  This will depend on whether 
  59. your LaTeX inputs are kept in the same directory as all the other 
  60. inputs.  If they are, then:
  61.  
  62.    cd $LATEXINPUTS
  63.    mkdir ../latex209
  64.    cp *.sty ../latex209
  65.  
  66. If they are not, and are kept in a separate directory, then:
  67.  
  68.    cd $LATEXINPUTS
  69.    mkdir ../latex209
  70.    cp * ../latex209
  71.  
  72. Finally, you can create a shell script to run the old latex, for 
  73. example:
  74.  
  75.    #!/bin/sh
  76.    TEXINPUTS=${LATEX209INPUTS:- \
  77.       .:/usr/local/lib/tex/inputs/latex209:$TEXINPUTS}
  78.    export TEXINPUTS
  79.    virtex \&latex209 $*
  80.  
  81.  
  82. UNPACKING THE DISTRIBUTION
  83. ==========================
  84.  
  85. To unpack the LaTeX distribution, you should:
  86.  
  87.    cd $LATEXDIST
  88.    initex unpack.ins
  89.    
  90. This may take 5 or 10 minutes to unpack.
  91.  
  92.  
  93. CREATING THE LATEX FORMAT
  94. =========================
  95.  
  96. To create the LaTeX format, you should:
  97.  
  98.    initex latex.ltx
  99.    
  100. This will create a file latex.fmt.  You should install this with:
  101.  
  102.    mv latex.fmt $LATEXFORMATS
  103.    
  104. If you had a latex binary before, it will now pick up the new 
  105. format.  Otherwise, you should say:
  106.  
  107.    cd $LATEXBIN
  108.    ln virtex latex   
  109.  
  110.  
  111. PUTTING THE FILES WHERE LATEX CAN READ THEM
  112. ===========================================
  113.  
  114. To install the LaTeX files, you should:
  115.  
  116.    cd $LATEXDIST
  117.    mv latexbug.tex testpage.tex docstrip.tex \
  118.       *.cls *.clo *.sty *.fd *.def *.cfg \
  119.       $LATEXINPUTS
  120.       
  121. You have now installed LaTeX!
  122.  
  123.  
  124. CHECKING THAT THE INSTALLATION WORKED
  125. =====================================
  126.  
  127. To check that the installation worked, you should:
  128.  
  129.    cd $LATEXDIST
  130.    latex ltxcheck
  131.    
  132. This will perform a number of tests, which should all report `OK'.
  133.  
  134.  
  135. --- Copyright 1994 the LaTeX3 project. ---
  136. ---       All rights reserved.         ---
  137.